home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / W3CTRS.H2_ / w3ctrs.h2
Encoding:
Text File  |  2003-02-21  |  8.3 KB  |  193 lines

  1. /**********************************************************************/
  2. /**                       Microsoft Windows NT                       **/
  3. /**                Copyright(c) Microsoft Corp., 1993                **/
  4. /**********************************************************************/
  5.  
  6. /*
  7.     w3ctrs.h
  8.  
  9.     Offset definitions for the W3 Server's Site counter object & counters
  10.     as well as the W3 Server's Cache counter object and counters
  11.  
  12.     This file is used in conjunction with the w3ctrs.ini file
  13.     by the LODCTR utility to load the object & counter names of the
  14.     w3ctrs into the registry.
  15. */
  16.  
  17.  
  18. #ifndef _W3CTRS_H_
  19. #define _W3CTRS_H_
  20.  
  21.  
  22. //
  23. //  The W3 Server counter object.
  24. //
  25.  
  26. #define W3_COUNTER_OBJECT                     0
  27.  
  28. //
  29. //  The individual counters.
  30. //
  31. #define W3_BYTES_SENT_COUNTER                          2
  32. #define W3_BYTES_SENT_PER_SEC                          4
  33. #define W3_BYTES_RECEIVED_COUNTER                      6
  34. #define W3_BYTES_RECEIVED_PER_SEC                      8
  35.  
  36. #define W3_BYTES_TOTAL_COUNTER                         10
  37. #define W3_BYTES_TOTAL_PER_SEC                         12
  38. #define W3_FILES_SENT_COUNTER                          14
  39.  
  40. #define W3_FILES_SENT_SEC                              16
  41. #define W3_FILES_RECEIVED_COUNTER                      18
  42. #define W3_FILES_RECEIVED_SEC                          20
  43. #define W3_FILES_TOTAL_COUNTER                         22
  44. #define W3_FILES_SEC                                   24
  45.  
  46. #define W3_CURRENT_ANONYMOUS_COUNTER                   26
  47. #define W3_CURRENT_NONANONYMOUS_COUNTER                28
  48. #define W3_TOTAL_ANONYMOUS_COUNTER                     30
  49. #define W3_ANONYMOUS_USERS_SEC                         32
  50. #define W3_TOTAL_NONANONYMOUS_COUNTER                  34
  51.  
  52. #define W3_NON_ANONYMOUS_USERS_SEC                     36
  53. #define W3_MAX_ANONYMOUS_COUNTER                       38
  54. #define W3_MAX_NONANONYMOUS_COUNTER                    40
  55. #define W3_CURRENT_CONNECTIONS_COUNTER                 42
  56. #define W3_MAX_CONNECTIONS_COUNTER                     44
  57.  
  58. #define W3_CONNECTION_ATTEMPTS_COUNTER                 46
  59. #define W3_CONNECTION_ATTEMPTS_SEC                     48
  60. #define W3_LOGON_ATTEMPTS_COUNTER                      50
  61. #define W3_LOGON_ATTEMPTS_SEC                          52
  62. #define W3_TOTAL_OPTIONS_COUNTER                       54
  63.  
  64. #define W3_TOTAL_OPTIONS_SEC                           56
  65. #define W3_TOTAL_GETS_COUNTER                          58
  66. #define W3_TOTAL_GETS_SEC                              60
  67. #define W3_TOTAL_POSTS_COUNTER                         62
  68. #define W3_TOTAL_POSTS_SEC                             64
  69.  
  70. #define W3_TOTAL_HEADS_COUNTER                         66
  71. #define W3_TOTAL_HEADS_SEC                             68
  72. #define W3_TOTAL_PUTS_COUNTER                          70
  73. #define W3_TOTAL_PUTS_SEC                              72
  74. #define W3_TOTAL_DELETES_COUNTER                       74
  75.  
  76. #define W3_TOTAL_DELETES_SEC                           76
  77. #define W3_TOTAL_TRACES_COUNTER                        78
  78. #define W3_TOTAL_TRACES_SEC                            80
  79. #define W3_TOTAL_MOVE_COUNTER                          82
  80. #define W3_TOTAL_MOVE_SEC                              84
  81.  
  82. #define W3_TOTAL_COPY_COUNTER                          86
  83. #define W3_TOTAL_COPY_SEC                              88
  84. #define W3_TOTAL_MKCOL_COUNTER                         90
  85. #define W3_TOTAL_MKCOL_SEC                             92
  86. #define W3_TOTAL_PROPFIND_COUNTER                      94
  87.  
  88. #define W3_TOTAL_PROPFIND_SEC                          96
  89. #define W3_TOTAL_PROPPATCH_COUNTER                     98
  90. #define W3_TOTAL_PROPPATCH_SEC                         100
  91. #define W3_TOTAL_SEARCH_COUNTER                        102
  92. #define W3_TOTAL_SEARCH_SEC                            104
  93.  
  94. #define W3_TOTAL_LOCK_COUNTER                          106
  95. #define W3_TOTAL_LOCK_SEC                              108
  96. #define W3_TOTAL_UNLOCK_COUNTER                        110
  97. #define W3_TOTAL_UNLOCK_SEC                            112
  98. #define W3_TOTAL_OTHERS_COUNTER                        114
  99.  
  100. #define W3_TOTAL_OTHERS_SEC                            116
  101. #define W3_TOTAL_REQUESTS_COUNTER                      118
  102. #define W3_TOTAL_REQUESTS_SEC                          120
  103. #define W3_TOTAL_CGI_REQUESTS_COUNTER                  122
  104. #define W3_CGI_REQUESTS_SEC                            124
  105.  
  106. #define W3_TOTAL_BGI_REQUESTS_COUNTER                  126
  107. #define W3_BGI_REQUESTS_SEC                            128
  108. #define W3_TOTAL_NOT_FOUND_ERRORS_COUNTER              130
  109. #define W3_TOTAL_NOT_FOUND_ERRORS_SEC                  132
  110. #define W3_TOTAL_LOCKED_ERRORS_COUNTER                 134
  111.  
  112. #define W3_TOTAL_LOCKED_ERRORS_SEC                     136
  113. #define W3_CURRENT_CGI_COUNTER                         138
  114. #define W3_CURRENT_BGI_COUNTER                         140
  115. #define W3_MAX_CGI_COUNTER                             142
  116. #define W3_MAX_BGI_COUNTER                             144
  117.  
  118. #define W3_CURRENT_CAL_AUTH_COUNTER                    146
  119. #define W3_MAX_CAL_AUTH_COUNTER                        148
  120. #define W3_TOTAL_FAILED_CAL_AUTH_COUNTER               150
  121. #define W3_CURRENT_CAL_SSL_COUNTER                     152
  122. #define W3_MAX_CAL_SSL_COUNTER                         154
  123.  
  124. #define W3_BLOCKED_REQUESTS_COUNTER                    156
  125. #define W3_ALLOWED_REQUESTS_COUNTER                    158
  126. #define W3_REJECTED_REQUESTS_COUNTER                   160
  127. #define W3_CURRENT_BLOCKED_REQUESTS_COUNTER            162
  128. #define W3_TOTAL_FAILED_CAL_SSL_COUNTER                164
  129.  
  130. #define W3_MEASURED_BANDWIDTH_COUNTER                  166
  131. #define W3_TOTAL_BLOCKED_BANDWIDTH_BYTES_COUNTER       168
  132. #define W3_CURRENT_BLOCKED_BANDWIDTH_BYTES_COUNTER     170
  133. #define W3_SERVICE_UPTIME_COUNTER                      172
  134.  
  135.  
  136. //
  137. //  The IIS Global Counters
  138. //
  139.  
  140. #define W3_GLOBAL_COUNTER_OBJECT             174
  141.  
  142.  
  143. //
  144. //  The individual counters.
  145. //
  146.  
  147. #define W3_GLOBAL_CURRENT_FILES_CACHED_COUNTER              176
  148. #define W3_GLOBAL_TOTAL_FILES_CACHED_COUNTER                178
  149. #define W3_GLOBAL_FILE_CACHE_HITS_COUNTER                   180
  150. #define W3_GLOBAL_FILE_CACHE_MISSES_COUNTER                 182
  151.  
  152. #define W3_GLOBAL_FILE_CACHE_HIT_RATIO_COUNTER              184
  153. #define W3_GLOBAL_FILE_CACHE_HIT_RATIO_COUNTER_DENOM        186
  154. #define W3_GLOBAL_FILE_CACHE_FLUSHES_COUNTER                188
  155. #define W3_GLOBAL_CURRENT_FILE_CACHE_MEMORY_USAGE_COUNTER   190
  156. #define W3_GLOBAL_MAX_FILE_CACHE_MEMORY_USAGE_COUNTER       192
  157.  
  158. #define W3_GLOBAL_ACTIVE_FLUSHED_FILES_COUNTER              194
  159. #define W3_GLOBAL_TOTAL_FLUSHED_FILES_COUNTER               196
  160. #define W3_GLOBAL_CURRENT_URIS_CACHED_COUNTER               198
  161. #define W3_GLOBAL_TOTAL_URIS_CACHED_COUNTER                 200
  162. #define W3_GLOBAL_URI_CACHE_HITS_COUNTER                    202
  163.  
  164. #define W3_GLOBAL_URI_CACHE_MISSES_COUNTER                  204
  165. #define W3_GLOBAL_URI_CACHE_HIT_RATIO_COUNTER               206
  166. #define W3_GLOBAL_URI_CACHE_HIT_RATIO_COUNTER_DENOM         208
  167. #define W3_GLOBAL_URI_CACHE_FLUSHES_COUNTER                 210
  168. #define W3_GLOBAL_TOTAL_FLUSHED_URIS_COUNTER                212
  169.  
  170. #define W3_GLOBAL_CURRENT_METADATA_CACHED_COUNTER               214
  171. #define W3_GLOBAL_TOTAL_METADATA_CACHED_COUNTER                 216
  172. #define W3_GLOBAL_METADATA_CACHE_HITS_COUNTER                   218
  173. #define W3_GLOBAL_METADATA_CACHE_MISSES_COUNTER                 220
  174. #define W3_GLOBAL_METADATA_CACHE_HIT_RATIO_COUNTER              222
  175.  
  176. #define W3_GLOBAL_METADATA_CACHE_HIT_RATIO_COUNTER_DENOM        224
  177. #define W3_GLOBAL_METADATA_CACHE_FLUSHES_COUNTER                226
  178. #define W3_GLOBAL_TOTAL_FLUSHED_METADATA_COUNTER                228
  179. #define W3_GLOBAL_KERNEL_CURRENT_URIS_CACHED_COUNTER            230
  180. #define W3_GLOBAL_KERNEL_TOTAL_URIS_CACHED_COUNTER              232
  181.  
  182. #define W3_GLOBAL_KERNEL_URI_CACHE_HITS_COUNTER                 234
  183. #define W3_GLOBAL_KERNEL_URI_CACHE_HITS_PER_SEC                 236
  184. #define W3_GLOBAL_KERNEL_URI_CACHE_MISSES_COUNTER               238
  185. #define W3_GLOBAL_KERNEL_URI_CACHE_HIT_RATIO_COUNTER            240
  186. #define W3_GLOBAL_KERNEL_URI_CACHE_HIT_RATIO_COUNTER_DENOM      242
  187.  
  188. #define W3_GLOBAL_KERNEL_URI_CACHE_FLUSHES_COUNTER              244
  189. #define W3_GLOBAL_KERNEL_TOTAL_FLUSHED_URIS_COUNTER             246
  190.  
  191. #endif  // _W3CTRS_H_
  192.  
  193.